home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / 000492_blitz-list-request_Tue Jul 19 05:57:54 1994.msg < prev    next >
Internet Message Format  |  1994-09-20  |  2KB

  1. Received: from iconz.co.nz (iconz.co.nz [202.14.100.2]) by kantti.helsinki.fi (8.6.9/8.6.5) with SMTP id FAA12687 for <blitz-list@helsinki.fi>; Tue, 19 Jul 1994 05:57:39 +0300
  2. Received: (acid@localhost) by iconz.co.nz (8.6.6.Beta6/8.6.6.Beta6) id OAA00843; Tue, 19 Jul 1994 14:53:48 +1200
  3. Date: Tue, 19 Jul 1994 14:51:16 +1200 (NZST)
  4. From: Acid Software <acid@iconz.co.nz>
  5. Subject: Re: How long??
  6. To: Mark Kuzmycz <kuzmycz@deakin.edu.au>
  7. cc: blitz-list@helsinki.fi
  8. In-Reply-To: <9407182343.AA00909@hareth>
  9. Message-ID: <Pine.3.87.9407191415.D426-0100000@iconz.co.nz>
  10. MIME-Version: 1.0
  11. Content-Type: TEXT/PLAIN; charset=US-ASCII
  12. X-Status: 
  13. Status: RO
  14.  
  15.  
  16.  
  17. On Tue, 19 Jul 1994, Mark Kuzmycz wrote:
  18.  
  19. > >>
  20. > >>What's the maximum length of a string? I can't find it in the 
  21. > >>books....
  22. > >
  23. > >Sorry if you've already found this out but:
  24. > >
  25. > >    Blitz stores a longword string length before every string in memory.  I
  26. > >assume therefore that the max length is going to be 2^32.
  27. > The maximum length of a string is defined in the compiler options (resources).
  28. > It should be about 10024 (That's what mine is anyway).
  29. > Mark.
  30. No not quite right, that is the workspace size, you can maxlen strings to 
  31. any size you want, however if you are going to manipulate them I suppose 
  32. yes your workspace should be set to as big as the biggest string + 
  33. biggest string you will be using.
  34. I think the bank lib should be expanded for handling largfe files etc, 
  35. does anyone know the basics of virtual memory, we could then open a bank 
  36. and allocate the file to it and then you could manipulate it with the 
  37. string commands but never have to worry about running out of memory, 
  38. Would this be of use to people?
  39.  
  40.